package string;
/*
String提供了一组重载静态方法valueOf
 */
public class StringDemo03 {
    public static void main(String[]args){
        int i=123;
        String s=String.valueOf(i);
        System.out.println(s);
        double i1=12.02;
        String s1=String.valueOf(i1);
        System.out.println(s1);

        String s2=123.562+"";
        System.out.println(s2);


    }
}
